package com.qf.cm.dao;

import com.qf.cm.pojo.Taskplan;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 公用常量
 * @Data: 2022/9/7 21:03
 * @Pacakge: com.qf.cm.dao
 * @ClassName: TaskpalnsDao
 * @Author: fan
 */
@Repository
public interface TaskpalnsDao {
    @Select("select * from taskplan where bid = #{bid}")
    List<Taskplan> findTaskplanByBid(@Param("bid") String bid);
    @Select("select * from taskpaln where tname = #{tname}")
    Taskplan findTaskplansByTname(String tname);
}
